//===========================================================================
// Validations
// Removing of redundant and mutually exclusive flags to prevent generating
// of the vertex/pixel shaders

#if %WRINKLE_BLENDING
  #if %MULTILAYER
      #undefine %MULTILAYER
  #endif
#endif

#if %PHONG_TESSELLATION || %PN_TESSELLATION || %DISPLACEMENT_MAPPING
	#if !VS_TESSELLATION
		#if %PHONG_TESSELLATION
			#undefine %PHONG_TESSELLATION
		#endif
		#if %PN_TESSELLATION
			#undefine %PN_TESSELLATION
		#endif
		#if %DISPLACEMENT_MAPPING
			#undefine %DISPLACEMENT_MAPPING
		#endif
	#endif
#endif

#if VS_TESSELLATION
	#if !%PHONG_TESSELLATION && !%PN_TESSELLATION && !%DISPLACEMENT_MAPPING
		#undefine VS_TESSELLATION
	#endif
#endif
